<?php

// bussinessWorker 进程
$worker = new \GatewayWorker\BusinessWorker();
// worker名称
$worker->name = 'ChatBusinessWorker';
// bussinessWorker进程数量
$worker->count = 4;
// 服务注册地址,请设置成服务器内网ip
$worker->registerAddress = '127.0.0.1:1236';
$worker->eventHandler = \Config\Events\Events::class;

!defined('GLOBAL_START') && \Workerman\Worker::runAll();
